home *** CD-ROM | disk | FTP | other *** search
-
-
-
- lllliiiinnnnkkkk____aaaaddddddddrrrr lllliiiinnnnkkkk____aaaaddddddddrrrr
-
-
-
- NNNNAAAAMMMMEEEE
- link_addr - elementary address specification routines for link level
- access
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ttttyyyyppppeeeessss....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ssssoooocccckkkkeeeetttt....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<nnnneeeetttt////iiiiffff____ddddllll....hhhh>>>>
-
- vvvvooooiiiidddd lllliiiinnnnkkkk____aaaaddddddddrrrr((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****aaaaddddddddrrrr,,,, ssssttttrrrruuuucccctttt ssssoooocccckkkkaaaaddddddddrrrr____ddddllll ****ssssddddllll))));;;;
-
- cccchhhhaaaarrrr ****lllliiiinnnnkkkk____nnnnttttooooaaaa((((ccccoooonnnnsssstttt ssssttttrrrruuuucccctttt ssssoooocccckkkkaaaaddddddddrrrr____ddddllll ****ssssddddllll))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The routine _l_i_n_k__a_d_d_r interprets character strings representing link-
- level addresses, returning binary information suitable for use in system
- calls. The routine _l_i_n_k__n_t_o_a takes a link-level address and returns a
- string representing some of the information present, including the link
- level address itself, and the interface name or number, if present. This
- facility is experimental and is still subject to change.
-
- For _l_i_n_k__a_d_d_r, the string may contain an optional network interface
- identifier of the form _n_a_m_e _u_n_i_t-_n_u_m_b_e_r, followed in all cases by a colon
- and an interface address in the form of groups of hexadecimal digits
- separated by periods. Each group represents a byte of address; address
- bytes are filled left to right from low order bytes through high order
- bytes.
-
- Thus "ec0:8.0.9.13.d.30" represents an ethernet address to be transmitted
- on the first ethernet interface.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
- _l_i_n_k__n_t_o_a always returns a null terminated string. _l_i_n_k__a_d_d_r has no
- return value.
-
- BBBBUUUUGGGGSSSS
- The returned values for _l_i_n_k__n_t_o_a reside in a static memory area.
-
- The function _l_i_n_k__a_d_d_r should diagnose improperly formed input, and there
- should be an unambiguous way to recognize this.
-
- If the _s_d_l__l_e_n field of the link socket address _s_d_l is 0, _l_i_n_k__n_t_o_a will
- not insert a colon before the interface address bytes. If this
- translated address is given to _l_i_n_k__a_d_d_r without inserting an initial
- colon, the latter will not interpret it correctly.
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-